package com.ParkingManager.app.service.impl;


import java.util.List;




import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ParkingManager.app.bean.Cash;
import com.ParkingManager.app.dao.ManageCashMapper;
import com.ParkingManager.app.service.ManageCashService;


@Service
public class ManageCashServiceImpl implements ManageCashService {

	@Autowired
	private ManageCashMapper  manageCashMapper;


	public List<Cash> getCash() {
		
		return manageCashMapper.getCash();
	}


	public boolean updateCash(Cash cash) {
		
		return manageCashMapper.updateCash(cash);
	}


	public boolean delectCash(int id) {
		// TODO Auto-generated method stub
		return manageCashMapper.delectCash(id);
	}


	public boolean insertCash(Cash cash) {
		// TODO Auto-generated method stub
		return manageCashMapper.insertCash(cash);
	}

}
